<?php
return [
    'title' => '杭州连联科技有限公司',
    'pageSize' => 12,
    'admin' => [
        'title' => '杭州连联科技有限公司后台管理',
        'pageSize' => 20,
    ],
    'about' => [
        'addr' => '杭州市西湖区石祥西路859号浙大科技园紫金创业园4幢503-505室',
        'tel' => '86 0571-88055807',
        'mobile' => '13738166606',
        'email' => '185951539@qq.com',
        'company' => '杭州连联科技有限公司',
    ],
    'cacheTime' => 5,


    'items' => [
        "index" => [
            "name" => "首页",
            "nav" => 3,
        ],

        "product" => [
            "name" => "产品中心",
            "nav" => 1,
            "type" => "kind",
            "data" => [
                'title' => [
                    'name' => "名称",
                    'type' => "input",
                    "value" => "",
                    "defalt" => "",
                    "attribute" => "required"
                ],
                'kind' => [
                    "name" => "产品类型",
                    "type" => 'select',
                    "value" => [
                        0 => "令答门禁系列",
                        1 => "令答门控系列",
                        2 => "平台软件",
                    ],
                    'defalt' => 1,
                    "attribute" => "required"
                ],
                'productpic' => [
                    "name" => "产品图片",
                    "type" => "img",
                    "value" => "226-230",
                    'defalt' => 1,
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "简介",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
            ],
        ],
        "news" => [
            "name" => "新闻",
            "nav" => 1,
            "type" => "types",
            "data" => [
                "title" => [
                    "name" => "新闻标题",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写标题",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "新闻图片",
                    "type" => "img",
                    "value" => "226-230",
                    'defalt' => 1,
                    "attribute" => ""
                ],
                "types" => [
                    "name" => "新闻类型",
                    "type" => 'select',
                    "value" => [
                        0 => "普通新闻",
                        1 => "热点新闻",
                    ],
                    'defalt' => 1,
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "新闻简介",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
                "content" => [
                    "name" => "新闻内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ]
        ],
        "message" => [
            "name" => "留言",
            "nav" => 2,
            "data" => [
                "name" => [
                    "name" => "姓名",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写标题",
                    "attribute" => "required"
                ],
                "tel" => [
                    "name" => "联系电话",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写来源",
                    "attribute" => "required"
                ],
                "email" => [
                    "name" => "邮件地址",
                    "type" => "input",
                    "value" => "226-230",
                    'defalt' => "",
                    "attribute" => "required|email"
                ],
                "company" => [
                    "name" => "公司名称",
                    "type" => "input",
                    "value" => "226-230",
                    'defalt' => "",
                    "attribute" => "required"
                ],
                "requirement" => [
                    "name" => "具体需求",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ]
        ],
        'intention' => [
            "name" => "合作意向",
            "nav" => 0,
            "data" => [
                "intention" => [
                    "name" => "合作意向",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "name" => [
                    "name" => "姓名",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "不限",
                    "attribute" => ""
                ],
                "email" => [
                    "name" => "邮件地址",
                    "type" => "input",
                    "value" => "226-230",
                    'defalt' => "",
                    "attribute" => "required|email"
                ],
                "mobile" => [
                    "name" => "手机号码",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写来源",
                    "attribute" => "required"
                ],
                "tel" => [
                    "name" => "联系电话",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写来源",
                    "attribute" => ""
                ],
                "company" => [
                    "name" => "公司名称",
                    "type" => "input",
                    "value" => "226-230",
                    'defalt' => "",
                    "attribute" => ""
                ],
            ]
        ],
        "vedio" => [
            "name" => "视频",
            "nav" => 2,
            "data" => [
                "name" => [
                    "name" => "视频名称",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "types" => [
                    "name" => "视频类型",
                    "type" => 'select',
                    "value" => [
                        0 => "普通视频",
                        1 => "首页视频",
                    ],
                    'defalt' => 1,
                    "attribute" => "required"
                ],
                "url" => [
                    "name" => "视频地址",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "视频图片",
                    "type" => "img",
                    "value" => "140-56",
                    'defalt' => 1,
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "视频简介",
                    "type" => "textarea",
                    "value" => "",
                    'defalt' => 1,
                    "attribute" => "required"
                ],
            ]
        ],
        "aq" => [
            "name" => "常见问题",
            "type" => "types",
            "nav" => 2,
            "data" => [
                "a" => [
                    "name" => "问题",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "答案",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "types" =>  [
                    "name" => "问答类型",
                    "type" => 'select',
                    "value" => [
                        0 => "硬件功能",
                        1 => "软件功能",
                    ],
                    'defalt' => 1,
                    "attribute" => "required"
                ],
            ]
        ],
        "qq" => [
            "name" => "QQ客服",
            "nav" => 2,
            "data" => [
                "QQ" => [
                    "name" => "QQ号码",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
            ]
        ],
        "direction" => [
            "name" => "产品说明书",
            "nav" => 2,
            "data" => [
                "name" => [
                    "name" => "帮助说明",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "file" => [
                    "name" => "帮助文件",
                    "type" => "file",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
            ]
        ],
    ],
    'message' => [
        'required' => ':attribute不能为空',
        'url' => ':attribute不是有效的地址',
        'email' => ':attribute不是有效的邮箱地址',
    ]
];